package entity;

public class tea {
    private int id;
    private String name;
    private int price;
    private String time;
    private int categoru_id;
    private category category;

    public entity.category getCategory() {
        return category;
    }

    public void setCategory(entity.category category) {
        this.category = category;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getCategoru_id() {
        return categoru_id;
    }

    public void setCategoru_id(int categoru_id) {
        this.categoru_id = categoru_id;
    }

    public tea(int id, String name, int price, String time, int categoru_id, entity.category category) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.time = time;
        this.categoru_id = categoru_id;
        this.category = category;
    }

    public tea(int id, String name, int price, String time, int categoru_id) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.time = time;
        this.categoru_id = categoru_id;
    }

    public tea() {
    }

    @Override
    public String toString() {
        return "tea{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", time='" + time + '\'' +
                ", categoru_id=" + categoru_id +
                ", category=" + category +
                '}';
    }
}
